package cn.qf.shop.service;


import cn.qf.shop.pojo.entity.Community;
import cn.qf.shop.pojo.vo.RespResult;

import java.util.Date;
import java.util.List;

public interface CommunityService {
    //增加小区
    RespResult addCommunity(Community community);
    //删除小区
    RespResult delCommunity(int id);
    //批量删除小区
    RespResult delCommunityBatch(List<String> idList);
    //修改小区信息
    RespResult updateCommunity(Community community);
    //查询所有小区
    List<Community> checkAll();
    //按照创建时间查询小区
    List<Community> checkByTime(Date beginDate, Date endDate);
}
